.class Lcom/htc/android/footprints/animation/Rotate3dAnimation$1;
.super Ljava/lang/Object;
.source "Rotate3dAnimation.java"

# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/animation/Rotate3dAnimation;->SwitchView(Landroid/view/View;Landroid/view/View;Landroid/view/animation/Animation$AnimationListener;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic val$listener:Landroid/view/animation/Animation$AnimationListener;

.field final synthetic val$v2:Landroid/view/View;

.field final synthetic val$zTarget:I


# direct methods
.method constructor <init>(Landroid/view/View;ILandroid/view/animation/Animation$AnimationListener;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 131
    iput-object p1, p0, Lcom/htc/android/footprints/animation/Rotate3dAnimation$1;->val$v2:Landroid/view/View;

    iput p2, p0, Lcom/htc/android/footprints/animation/Rotate3dAnimation$1;->val$zTarget:I

    iput-object p3, p0, Lcom/htc/android/footprints/animation/Rotate3dAnimation$1;->val$listener:Landroid/view/animation/Animation$AnimationListener;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/view/animation/Animation;)V
    .locals 7
    .parameter "animation"

    .prologue
    const/4 v6, 0x1

    const/high16 v2, 0x4000

    .line 113
    iget-object v1, p0, Lcom/htc/android/footprints/animation/Rotate3dAnimation$1;->val$v2:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getWidth()I

    move-result v1

    int-to-float v1, v1

    div-float v3, v1, v2

    .line 114
    .local v3, centerX:F
    iget-object v1, p0, Lcom/htc/android/footprints/animation/Rotate3dAnimation$1;->val$v2:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getHeight()I

    move-result v1

    int-to-float v1, v1

    div-float v4, v1, v2

    .line 118
    .local v4, centerY:F
    new-instance v0, Lcom/htc/android/footprints/animation/Rotate3dAnimation;

    const/high16 v1, -0x3d4c

    const/4 v2, 0x0

    iget v5, p0, Lcom/htc/android/footprints/animation/Rotate3dAnimation$1;->val$zTarget:I

    neg-int v5, v5

    int-to-float v5, v5

    invoke-direct/range {v0 .. v6}, Lcom/htc/android/footprints/animation/Rotate3dAnimation;-><init>(FFFFFZ)V

    .line 120
    .local v0, rotation:Lcom/htc/android/footprints/animation/Rotate3dAnimation;
    const-wide/16 v1, 0x190

    invoke-virtual {v0, v1, v2}, Lcom/htc/android/footprints/animation/Rotate3dAnimation;->setDuration(J)V

    .line 121
    invoke-virtual {v0, v6}, Lcom/htc/android/footprints/animation/Rotate3dAnimation;->setFillAfter(Z)V

    .line 122
    new-instance v1, Landroid/view/animation/AccelerateInterpolator;

    invoke-direct {v1}, Landroid/view/animation/AccelerateInterpolator;-><init>()V

    invoke-virtual {v0, v1}, Lcom/htc/android/footprints/animation/Rotate3dAnimation;->setInterpolator(Landroid/view/animation/Interpolator;)V

    .line 123
    iget-object v1, p0, Lcom/htc/android/footprints/animation/Rotate3dAnimation$1;->val$listener:Landroid/view/animation/Animation$AnimationListener;

    invoke-virtual {v0, v1}, Lcom/htc/android/footprints/animation/Rotate3dAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 124
    iget-object v1, p0, Lcom/htc/android/footprints/animation/Rotate3dAnimation$1;->val$v2:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 126
    return-void
.end method

.method public onAnimationRepeat(Landroid/view/animation/Animation;)V
    .locals 0
    .parameter "animation"

    .prologue
    .line 129
    return-void
.end method

.method public onAnimationStart(Landroid/view/animation/Animation;)V
    .locals 0
    .parameter "animation"

    .prologue
    .line 132
    return-void
.end method
